package cn.ztf.zshop.sys.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class SysUserRegisterDto {

    @NotBlank(message = "用户名不能为空")
    private String username;

    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空")
    private String password;

    /**
     * 确认密码
     */
    @NotBlank(message = "确认密码不能为空")
    private String confirmPassword;

    /**
     * 验证码
     */
    @NotBlank(message = "验证码不能为空")
    private String verificationCode;

    /**
     * 电话号码
     */
    @NotBlank(message = "电话号码不能为空")
    private String mobile;

}
